package com.itheima.afternoon.demo05;

public class Demo {
    public static void main(String[] args) {
        MySemaphore ms= new MySemaphore();

        for (int i = 0; i < 20; i++) {
            new Thread(ms).start();
        }
    }
}
